home *** CD-ROM | disk | FTP | other *** search
- Usage: fwatch [-acme] -<seconds> filename ...
- fwatch watches files for time changes.
- At intervals, it does a stat(S) on each file, and prints on the standard
- output the names of those which have had an inode time change (up or
- down). One name is printed per line. By default, only the modification
- time is checked. The flags allow any of the times to be checked: -a for
- access time, -c for creation (inode change) time, and -m for modification
- time. The filename will be printed if any of the specified times changes.
- The default stat interval is one second. The interval can be set by
- specifying it with -<seconds>, as in -60 to check at one-minute intervals.
- fwatch continues executing until killed by a signal.
-
- It is normally an error for a file to not exist, and fwatch will abort
- with an error message and nonzero exit value if a file cannot be stat()ed.
- If -e is given, no error message is printed and stat does not abort. The
- name of a file is printed if it disappears or can no longer be accessed
- for any other reason, and it is printed again if it comes back.
-